<template>
	<view @click="getDetails(item.aid)" class='flex flex-direction align-stretch heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0'>
		<image class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c0' mode="aspectFill" :src='item.thumb'></image>
		<!-- <image class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c0' mode="aspectFill" :src='item.head_img' v-else></image> -->
		<view class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c1'>{{item.content}}</view>
		<view class='flex align-center heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2'>
			<image class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2_c0' mode="aspectFill" :src='item.head_img'>
			</image>
			<text class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2_c1'>{{item.user_nickname}}</text>
			<text class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2_c2'>{{item.create_time}}</text>
		</view>
		<image class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c3' mode="aspectFill" :src='STATIC_URL+"63.png"'
			v-if="item.type == 3"></image>
		<view class='flex flex-wrap align-center justify-between heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4'>
			<image class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4_c0' mode="aspectFit" :src='STATIC_URL+"21.png"'>
			</image>
			<text class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4_c1'>{{item.likes_num}}</text>
		</view>
		<view class='flex flex-wrap align-center justify-between heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c5'>
			<image class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4_c0' mode="aspectFit" :src='STATIC_URL+"22.png"'>
			</image>
			<text class='heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4_c1'>{{item.comment_num}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {

			}
		},
		created() {

		},
		methods: {
			getDetails(aid) {
				uni.navigateTo({
					url: '/pages/faxian/dynamicDetails/dynamicDetails?id=' + aid
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c5 {
		background: #333333;
		position: absolute;
		bottom: 164rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		width: 102rpx;
		height: 32rpx;
		padding: 0rpx 16rpx 0rpx 16rpx;
		right: 16rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4_c1 {
		color: #fff;
		font-size: 24rpx;
		font-weight: 400;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4_c0 {
		width: 24rpx;
		height: 24rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c4 {
		background: #333333;
		position: absolute;
		bottom: 164rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		width: 102rpx;
		height: 32rpx;
		padding: 0rpx 16rpx 0rpx 16rpx;
		left: 16rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c3 {
		width: 48rpx;
		height: 48rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		position: absolute;
		right: 150rpx;
		top: 150rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2_c2 {
		color: #BFBFBF;
		font-size: 20rpx;
		font-weight: 400;
		line-height: 30rpx;
		margin: 0rpx 0rpx 0rpx auto;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2_c1 {
		color: #C4C4C4;
		font-size: 22rpx;
		font-weight: 400;
		line-height: 30rpx;
		margin: 0rpx 0rpx 0rpx 8rpx;
		width: 70px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2_c0 {
		width: 40rpx;
		height: 40rpx;
		border-radius: 20rpx 20rpx 20rpx 20rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c2 {
		margin: 0rpx 16rpx 32rpx 16rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c1 {
		width: 314rpx;
		height: 32rpx;
		margin: 16rpx 16rpx 24rpx 16rpx;
		color: var(--benbenFontColor0);
		font-size: 26rpx;
		font-weight: 500;
		line-height: 37rpx;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
		line-height: normal;
		box-sizing: border-box;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0_c0 {
		width: 344rpx;
		height: 342rpx;
		border-radius: 16rpx 16rpx 0rpx 0rpx;
	}

	.heIndex_bodyItemfd2_0_c0_c4_c0_c1_c0 {
		background: var(--benbenbgColor0);
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		box-shadow: 0rpx 6rpx 25rpx rgba(0, 0, 0, 0.1);
		margin: 0rpx 0rpx 24rpx 0rpx;
		position: relative;
	}
</style>